using System;
using System.Collections.Generic;
using System.Text;
using DAL;
using Entity;

namespace BUL
{
	public class VideoBUL
	{
		private static VideoDAL db = new VideoDAL();
		#region[Video_GetById]
		public static List<Entity.Video> Video_GetById(string Id)
		{
			return db.Video_GetById(Id);
		}
		#endregion
        #region[News_VideoRelated]
        public static List<Entity.Video> News_VideoRelated(string Id, string GroupVideoId, string lang)
        {
            return db.News_VideoRelated(Id, GroupVideoId, lang);
        }
        #endregion
        #region[Video_GetByOther]
        public static List<Entity.Video> Video_GetByOther(string Id, string Date, string GroupVideoId, string lang)
        {
            return db.Video_GetByOther(Id, Date, GroupVideoId, lang);
        }
        #endregion
		#region[Video_GetByTop]
		public static List<Entity.Video> Video_GetByTop(string Top, string Where, string Order)
		{
			return db.Video_GetByTop(Top, Where, Order);
		}
		#endregion
		#region[Video_GetByAll]
		public static List<Entity.Video> Video_GetByAll(string Lang)
		{
			return db.Video_GetByAll(Lang);
		}
		#endregion
		#region[Video_Paging]
		public static List<Entity.Video> Video_Paging(string CurentPage, string PageSize, string Lang)
		{
			return db.Video_Paging(CurentPage, PageSize, Lang);
		}
		#endregion
		#region[Video_Insert]
		public static bool Video_Insert(Video data)
		{
			return db.Video_Insert(data);
		}
		#endregion
		#region[Video_Update]
		public static bool Video_Update(Video data)
		{
			return db.Video_Update(data);
		}
		#endregion
		#region[Video_Delete]
		public static bool Video_Delete(string Id)
		{
			return db.Video_Delete(Id);
		}
		#endregion
	}
}